[paket]
tanim   = Microsoft OneDrive için yerel Linux dosya sistemi
paketci = Cihan_Alkan
grup 	= ofis
url     = https://github.com/jstaf/onedriver

[kaynak]
1     = $url/archive/refs/tags/v$surum.tar.gz::$isim-$surum.tar.gz

[sha256]
#1 		= 0c68f5655528aed4f99dae71a5b259edc93239fa899e2df79c055275c21749a1

[derle]
betik 	=   export CGO_CPPFLAGS="${CPPFLAGS}"
betik 	=   export CGO_CFLAGS="${CFLAGS}"
betik 	=   export CGO_CXXFLAGS="${CXXFLAGS}"
betik 	=   export CGO_LDFLAGS="${LDFLAGS}"
betik 	=   go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags "-X main.commit=f560cbe48072bd8f88a44de038c1928e30608d14 -linkmode external -extldflags \"${LDFLAGS}\"" ./cmd/onedriver
	      
[pakur]
betik   =  install -Dm 755 $isim "$PKG"/usr/bin/$isim
betik   =  install -Dm 755 resources/$isim-launcher.sh "$PKG"/usr/bin/$isim-launcher.sh
betik   =  install -Dm 644 resources/$isim.desktop "$PKG"/usr/share/applications/$isim.desktop
betik   =  install -Dm 644 resources/$isim.png "$PKG"/usr/share/icons/onedriver/$isim.png
betik   =  install -Dm 644 resources/$isim.svg "$PKG"/usr/share/icons/onedriver/$isim.svg